﻿///Circle.as 该类为圆形类
//vesion 1.0
//author 夏天的树人

package org.summerTree.graphics
{

	public class Circle extends Base
	{

		public function Circle()
		{

		}
		override public  function clone():*
		{
			return new Circle();
		}
		
		//绘制一个圆
		/*radius 半径
		 *fillColor 填充颜色
		 *alpha 透明度
		 */
		public function CreatCircle(radius:Number,fillColor:uint=0xffffff,alpha:Number=1):void
		{
			this.graphics.lineStyle(1,color);
			this.graphics.beginFill(fillColor,alpha);
			this.graphics.drawCircle(0,0,radius);			
			this.graphics.endFill();
		
		}
	}
}